home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
AMUG
/
PROGRAMMING
/
Raven 1.2 Examples.sit
/
Raven 1.2 Examples
/
Quill
/
Source
/
ControlProxy.cpp
< prev
next >
Wrap
Text File
|
1997-08-07
|
2KB
|
58 lines
/*
* File: ControlProxy.cpp
* Function: Proxy for TControl subclasses.
* Written by: Jesse Jones
*
* Copyright ゥ 1997 Jesse Jones.
* For conditions of distribution and use, see copyright notice in ZTypes.h
*
* Change History (most recent first):
*
* <-> 1/22/97 JDJ Created
*/
#include "ControlProxy.h"
#include <ZView.h>
// ===================================================================================
// class CControlProxy
// ===================================================================================
static TReanimatorRegister<CControlProxy> sControlRegistrar("TControl");
static TReanimatorRegister<CControlProxy> sControlProxyRegistrar;
//---------------------------------------------------------------
//
// CControlProxy::~CControlProxy
//
//---------------------------------------------------------------
CControlProxy::~CControlProxy()
{
}
//---------------------------------------------------------------
//
// CControlProxy::CControlProxy
//
//---------------------------------------------------------------
CControlProxy::CControlProxy(const string& name, TView* superView, const TRect& frame, const string& mesg) : TControl(name, superView, frame, mesg)
{
}
//---------------------------------------------------------------
//
// CControlProxy::Create [static]
//
//---------------------------------------------------------------
MReanimatable* CControlProxy::Create(MReanimatable* parent)
{
return new CControlProxy("????", dynamic_cast<TView*>(parent), TRect(0, 0, 75, 20), "????");
}